package com.zlm.custom.spring.sub;

import com.zlm.custom.spring.Autowired;
import com.zlm.custom.spring.Component;
import com.zlm.custom.spring.PostConstruct;

/**
 * @author zlm
 * @date 2025/4/26
 */
@Component
public class Dog {

    @Autowired
    private Cat cat;

    @PostConstruct
    public void init() {
        System.out.println("dog init");
    }
}
